Offline configuration using USB download in an integrated power distribution system

ABSTRACT

In accordance with the invention a configurable electrical distribution system is provided for selectively connecting an electrical power source to load devices. The system comprises a panel and a plurality of switching devices mounted in the panel, each switching device for connection in a branch circuit to a load device for selectively delivering electrical power to the load device. A panel controller is mounted in the panel and is operatively connected to each of the switching devices. The panel controller comprises a programmed controller for controlling operation of the switching devices and a panel memory connected to the programmed controller storing configuration data relating to operation of the switching devices. A port is provided for operatively connecting an external memory device to the programmed controller. A user interface is operatively associated with the programmed controller to transfer configuration data between the external memory device and the panel memory.

CROSS REFERENCE TO RELATED APPLICATIONS

This application claims priority of provisional application No. 60/826,567 filed Sep. 22, 2006, the contents of which is incorporated by reference herein.

FIELD OF THE INVENTION

This invention relates generally to residential and commercial electrical power distribution panels and components, and more particularly, to a system controller using USB download for integrated distribution panels in an electrical power distribution system.

BACKGROUND OF THE INVENTION

Circuit breaker panels are used to protect electrical circuitry from damage due to an overcurrent condition, such as an overload, a relatively high level short circuit, or a ground fault condition. To perform that function, circuit breaker panels include circuit breakers that typically contain a switch unit and a trip unit. The switch unit is coupled to the electrical circuitry (i.e., lines and loads) such that it can open or close the electrical path of the electrical circuitry. The switch unit includes a pair of separable contacts per phase, a pivoting contact arm per phase, an operating mechanism, and an operating handle.

In the overcurrent condition, all the pairs of separable contacts are disengaged or tripped, opening the electrical circuitry. When the overcurrent condition is no longer present, the circuit breaker can be reset such that all the pairs of separable contacts are engaged, closing the electrical circuitry.

In addition to manual overcurrent protection via the operating handle, automatic overcurrent protection is also provided via the trip unit. The trip unit, coupled to the switch unit, senses the electrical circuitry for the overcurrent condition and automatically trips the circuit breaker. When the overcurrent condition is sensed, a tripping mechanism included in the trip unit actuates the operating mechanism, thereby disengaging the first contact from the second contact for each phase. Typically, the operating handle is coupled to the operating mechanism such that when the tripping mechanism actuates the operating mechanism to separate the contacts, the operating handle also moves to a tripped position.

Switchgear and switchboard are general terms used to refer to electrical equipment including metal enclosures that house switching and interrupting devices such as fuses, circuit breakers and relays, along with associated control, instrumentation and metering devices. The enclosures also typically include devices such as bus bars, inner connections and supporting structures (referred to generally herein as “panels”) used for the distribution of electrical power. Such electrical equipment can be maintained in a building such as a factory or commercial establishment, or it can be maintained outside of such facilities and exposed to environmental weather conditions. Typically, hinge doors or covers are provided on the front of the switchgear or switchboard sections for access to the devices contained therein.

In addition to electrical distribution and the protection of circuitry from overcurrent conditions, components have been added to panels for the control of electrical power to loads connected to circuit breakers. For example, components have been used to control electrical power for lighting.

One system used for controlling electrical power to loads utilizes a remote-operated circuit breaker system. In such a system, the switch unit of the circuit breaker operates not only in response to an overcurrent condition, but also in response to a signal received from a control unit separate from the circuit breaker. The circuit breaker is specially constructed for use as a remote-operated circuit breaker, and contains a motor for actuating the switch unit.

In an exemplary remote-operated circuit breaker system, a control unit is installed on the panel and is hard-wired to the remote-operated circuit breaker through a control bus. When the switch unit of the circuit breaker is to be closed or opened, an operating current is applied to or removed from the circuit breaker motor directly by the control panel. Additional, separate conductors are provided in the bus for feedback information such as contact confirmation, etc., for each circuit breaker position in the panel. The control unit contains electronics for separately applying and removing the operating current to the circuit breakers installed in particular circuit breaker positions in the panel. The panel control unit also has electronics for checking the state of the circuit breaker, diagnostics, etc. One advantage of that system is that the individual circuit breakers can be addressed according to their positions in the panel.

Typically, a power distribution system such as a lighting control panel includes local control of the individual switch units. A control module is incorporated in the panel for controlling the individual switch devices. The control module is manually configured to identify panel devices, control schedules, overrides, and the like. If there are plural such panels, then each must be configured individually. Also, if there is a technical problem, then a technical person must view the configuration data at the panel. The configuration operation may require that the system be taken out of operation to ensure that the configuration process does not interfere with basic control operation.

The present invention is directed to improvements in electrical distribution as lighting control panels

SUMMARY OF THE INVENTION

In accordance with the invention, there is provided an electrical distribution system including a system controller capable of downloading configuration information using a USB interface.

There is disclosed in accordance with one aspect of the invention a method of configuring an electrical distribution system with an external memory device, comprising: providing a panel comprising a plurality of switching devices mounted in the panel, each switching device for connection in a branch circuit to a load device for selectively delivering electrical power to the load device, and a panel controller mounted in the panel and operatively connected to each of the switching devices, the panel controller comprising a programmed controller for controlling operation of the switching devices and a panel memory connected to the programmed controller storing configuration data relating to operation of the switching devices; providing a port for operatively connecting the external memory device to the programmed controller; and establishing communications between the programmed controller and the external memory device comprising operating a user interface to transfer configuration data between the external memory device and the panel memory.

It is a feature of the invention that transferring configuration data between the external memory device and the panel memory comprises downloading configuration data from the external memory device to the panel memory.

It is another feature of the invention that transferring configuration data between the external memory device and the panel memory comprises uploading configuration data from the panel memory to the external memory device.

It is still another feature of the invention that providing a port for operatively connecting the external memory device to the programmed controller comprises providing a serial port, such as a USB port.

It is a further feature of the invention that the configuration data is in the form of a database comprising information selected from a group consisting of setup of the panel, breakers, zones, inputs, I/O mappings and schedules.

It is yet another feature of the invention that a user interface is operatively connected to the programmed controller for alternatively manually selecting parameters for the configuration data.

There is disclosed in accordance with another aspect of the invention a configurable electrical distribution system for selectively connecting an electrical power source to load devices, comprising a panel comprising a plurality of switching devices mounted in the panel, each switching device for connection in a branch circuit to a load device for selectively delivering electrical power to the load device. A panel controller is mounted in the panel and is operatively connected to each of the switching devices. The panel controller comprises a programmed controller for controlling operation of the switching devices and a panel memory connected to the programmed controller storing configuration data relating to operation of the switching devices. A port is provided for operatively connecting an external memory device to the programmed controller. A user interface is operatively associated with the programmed controller to transfer configuration data between the external memory device and the panel memory.

There is disclosed in accordance with a further aspect of the invention a configurable electrical distribution system for selectively connecting an electrical power source to load devices, comprising a plurality of panelboards. Each panelboard comprises a plurality of load circuit positions, a plurality of pairs of circuit breakers and switching devices each mounted in one of the load circuit positions, each pair electrically connected between an electrical power source and a load device for selectively delivering electrical power to load devices, a panel controller operatively connected to each of the switching devices, the panel controller comprising a programmed controller for controlling operation of the switching devices and a panel memory connected to the programmed controller storing configuration data relating to operation of the switching devices, and a port connected to the programmed controller. An external memory device is provided for selective coupling to the port. The programmed controller operates a user interface responsive to an external memory device being coupled to the port to transfer configuration data between the external memory device and the panel memory.

Further features and advantages of the invention will be readily apparent from the specification and from the drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is an elevation view of a power distribution panel according to the invention;

FIG. 2 is a block diagram illustrating pairs of circuit breakers and remote operated devices of the power distribution panel of FIG. 1;

FIG. 3 is a block diagram of the power distribution panel of FIG. 1;

FIG. 4 is an expanded schematic/block diagram of the power distribution panel of FIG. 1;

FIG. 5 is block diagram of a multiple panel system in accordance with the invention;

FIG. 6 is a detailed block diagram of the I/O controller of FIG. 3;

FIG. 7 is a detailed block diagram of the system controller of FIG. 3; and

FIG. 8 is a flow diagram of a USB handler implemented in the system controller of FIG. 7.

DETAILED DESCRIPTION OF THE INVENTION

An electrical distribution system, such as an integrated lighting control system, in accordance with the invention permits a user to control power circuits typically used for lighting, as well as circuits for resistive heating or air conditioning, using USB configuration in an integrated system controller. Control may include on/off switching, dimming and metering. The electrical distribution system may be as is generally described in U.S. application Ser. No. 11/519,727, filed Sep. 12, 2006, the specification of which is incorporated by reference herein.

Referring to FIG. 1, a lighting control system in accordance with the invention comprises a lighting control panel 100. The panel 100 may comprise a Siemens type P1 panelboard, although the invention is not limited to such a configuration. Line power enters the panel 100 through power source cables 102 connected to a source of power 104. Line power may, for example, be a three phase 480Y277, 240 or 120 VAC power source, as is conventional. The cables 102 are electrically connected to an input side of a main breaker 106. The main breaker 106 distributes line power to individual circuit breakers 108 in a conventional manner. How the power is distributed depends on design of the individual circuit breakers 108, as will be apparent to those skilled in the art. The power is distributed to the line side of individual circuit breakers 108. The panel 100 may be configured to accept up to forty-two individual circuit breakers 108, although only thirty are shown in the embodiment of FIG. 1. Each circuit breaker may be of conventional construction and may be, for example, a Siemens BQD circuit breaker. Each circuit breaker 108 includes a line terminal 108A receiving power from the main breaker 106 and a load terminal 108B conventionally used for connecting to a load circuit.

For simplicity of description, when a device such as a circuit breaker 108 is described generally herein the device is referenced without any hyphenated suffix. Conversely, if a specific one of the devices is described it is referenced with a hyphenated suffix, such as 108-1.

In accordance with the invention, each load circuit to be controlled also has a remote operated device 110, such as a relay, a meter or a dimmer. The term remote operated device as used herein includes any other devices that controls, monitors or may otherwise be used in a load circuit, in accordance with the invention. While in a preferred embodiment, the remote operated device 110 is a separate component from the circuit breaker 108, the term “remote operated device” as used herein encompasses devices integral with the circuit breaker. The remote operated devices 110 are also connected to data rails 112A and 112B. A panel controller 114 controls the remote operated devices 110 through connections provided via the data rails 112A and 112B, as discussed below.

The remote operated device 110 includes a housing 110H encasing an auxiliary set of contacts that can be remotely operated to open and close a lighting circuit. The device 110 is attached to the load side of a circuit breaker 108 within a panel 100 using a conductor tab, i.e., the terminal 110A, inserted into the breaker lug 108B. The load terminal 110B comprises a lug of the same size as the breaker lug 108B for connecting to a wire to be connected to the load device. The device housing 110H is configured to mount in a Siemens type P1 panelboard, although the invention is not limited to such a configuration.

Referring to FIG. 2, a block diagram illustrates four circuit breakers 108-1, 108-2, 108-3 and 108-4, and respective associated remote operated devices 110-1, 110-2, 110-3 and 110-4. In the illustrated embodiment, the first device 110-1 comprises a relay, the second device 110-2 comprises a breaker, the third device 110-3 comprises a current transformer, and the fourth device 110-4 comprises a dimmer. As is apparent, any combination of these remote operated devices 110 could be used. Each remote operated device 110 includes an input terminal 110A electrically connected to the associated circuit breaker load terminal 108B, and an output terminal 110B for connection to a load device.

Referring to FIG. 3, a block diagram of the lighting control panel 100 is illustrated. Power from the lines 102 is provided via an isolation transformer 116, power switch 118 and fuse 120 to a switching power supply 122. The panel controller 114 comprises an input/output (I/O) controller 124 and optionally a system controller 126. The power supply 122 provides isolated power to all of the control components including the I/O controller 124, the system controller 126, and the remote operated devices 110, see FIG. 1, via the data rails 112A and 112B. The I/O controller 124 and system controller 126 each have DC-DC converters deriving regulated DC voltage levels as required from the main DC output of the power supply 122. The power supply 122 also provides 24 volts to the remote operated devices 110. The system controller 126 is operatively connected to a touch screen 128 and an LCD 130.

In one embodiment of the invention, shown in FIG. 4, the panel controller 114 functions as a single panel stand alone system. The I/O controller 124 supplies power and control signals through the rails 112A and 112B to the remote operated devices, four of which, 110-1, 110-21, 110-22 and 110-42, are illustrated. A user interface and high level scheduling and control are provided by the system controller 126.

The I/O controller 124 provides discrete inputs to the controller 114 from dry contact switches, such as wall switches, (not shown) which can be connected to discrete input terminals 140. The terminals 140 are organized as two inputs and a common. The inputs to the terminals 140 are detected by dry contact I/O logic 142. A selector logic block 144 generates selector line signals and serial communications to the remote operated devices 110 via the data rails 112. The logic blocks 142 and 144 are operatively associated with a microprocessor or microcontroller 146. A TP-UART integrated circuit 148 provides an EIB (European Installation Bus) interface. A connector 149 allows mating directly to the system controller 126 via a cable 150.

The system controller 126 provides the user with an application to implement lighting schedules, organize devices into logical groups, manage the inputs, and obtain status information. The configuration of the system is stored in SQL CE database and in XML files inside the controller. A USB interface is provided in the controller to enable a means of uploading or downloading of the configuration data using any standard USB flash drive (mass storage devices). Offline configuration can be done using the downloaded data. The system controller 126 includes a microprocessor 152 operatively connected to a user interface 154 in the form of an integrated touch screen 128 and LCD 130, see FIG. 3. The microprocessor 152 is also connected to memory devices 156 and an ethernet controller 158. A TP-UART circuit 160 provides an EIB interface while additional interfaces are provided via an analog modem 162 and RS 485 interface circuit 164. A connector 162 is provided for connection to the cable 150.

In another embodiment, shown in FIG. 5, multiple lighting control panels 100-1, 100-2 and 100-3 are configured to work as a single unit with the first panel 100-1 being configured as a master, and the other panels 100-2 and 100-3 configured as slaves. To configure the first panel 100-1 as a master, the system controller 126 is used, as described above relative to FIG. 4. The slave panels 100-2 and 100-3 contain no system controller. Instead, an EIB bus 170 interconnects the I/O controller boards 124-1, 124-2 and 124-3 to receive commands from the system controller 126. As is, apparent, each panel 100 could include a system controller 126 so that each can operates as a stand alone system.

Referring again to FIG. 2, a data rail 112 is illustrated schematically. The data rail 112 is mechanically attached directly to the interior of the lighting control panel 100. The data rail 112 comprises a shielded communication bus including a ribbon connector 178 having twenty-five to twenty-nine wires to be routed to the I/O controller board 124. The ribbon connector 178 typically has twenty-six wires, two for power connection, two for ground connection, one for the serial line and up to twenty-one select lines, one for each remote operated device 110. Each data rail 112 provides a barrier to isolate the class 1 load wires from the class 2 signal wires used to manage the devices 110. The data rails 112 will connect to each device 110 via a connector that extends out of the device 110. The wires are connected to a printed circuit board 180 included traces defined as follows. A power trace 182 provides 24 volt DC power to each remote operated device 110. A common trace 184 provides a ground to each remote operated device 110. A serial interface trace 186 provides serial communication to each of the remote operated devices 110. A plurality of select line traces, four of which 188-1, 188-2, 188-3 and 188-4 are illustrated, are provided, one for each remote operated device 110. Each remote operated device 110 includes a four wire cable 190 for connection to the data rail 112. The four wires comprise a select line 191 connected to one of the select traces 188, a serial interface line 192 connected to the serial interface trace 186, a neutral wire 193 connected to the common trace 184 and a power wire 194 connected to the power trace 182.

In accordance with the invention, a unique select line is assigned to each breaker 108/remote operated device 110 pair positioned within the lighting control panel 100. Select lines are used by the I/O controller 124 to select single remote operated devices to communicate via the serial interface trace 186. For example, when the first select line 188-1 is asserted, the first remote operated device 110-1 listens for messages on the serial interface line 186. Conversely, messages on the serial interface 186 are ignored if the first select line 188-1 is not asserted. A response by any of the remote operated devices 110 to a serial command is therefore conditional on whether its particular select line is asserted. The term “asserted”, as used herein, means one state of a signal designated to cause the remote operated device to listen for messages. In a preferred embodiment, the select line has “high” and “low” states, the high state being the asserted state.

The remote operated device 110, in the form of a relay, allows remote switching of an electrical branch load. The device 110 is designed to fit inside a standard electrical panel board with up to forty-two branch circuit breakers 108. The device 110 is an accessory to a branch circuit breaker 108 allowing repetitive switching of the load without effecting operation of the circuit breaker 108.

Referring to FIG. 6, the circuitry for the I/O controller 124 is illustrated in greater detail in block diagram form. The I/O controller 124 is powered from the external power supply 122, see FIG. 3, that feeds a power supply 300. The power supply 300 produces the voltages needed by the microcontroller 146 and all the other circuits making up the I/O controller 124. The microcontroller 146 may, for example, comprise a TI MSP430 microcontroller and associated memory 146M, such as flash memory or ROM memory, for strong operating programs and data, as is conventional. A power supply supervisor 302 monitors voltage and sends a reset to the microcontroller 146 if a voltage falls out of tolerance. The forty two outputs for the individual remote operated devices 110, see FIG. 2, are divided into twenty-one left side outputs at a left output port 304 and twenty-one right side outputs at a right output port 306. Serial to parallel select line buffers 308 and 310 develop separate select or enable signals for each output device 110 from the microcontroller 146 to the respective output ports 304 and 306. The two serial to parallel blocks 308 and 310 are identical so that the same clock can drive both sides, further reducing output pins needed from the microcontroller 146.

A serial communication driver circuit 312 is used to isolate and drive a single wire serial communication line 313 from the microcontroller 146 to the output ports 304 and 306. Voltage and ground from the power supply 300 are also connected to the output ports 304 and 306. The single wire communication line 313 connects to each remote operated device 110, as described above, to transmit and receive commands and data. The serial communication driver circuit 312 provides necessary isolation and protection such that in the event of an individual remote operated device failure, the remainder of the devices continued to operate properly.

The I/O controller 124 has thirty-two discrete inputs connected to input ports 314. Each input port 314 is individually protected, conditioned, and buffered at input buffers 316 connected to the microcontroller 146 via a multiplexer 318 to allow reading eight inputs at a time. Since an input can be connected to a variety of devices, such as several different types of switches and occupancy sensors from different manufacturers, each input is read under different conditions controlled by the microcontroller 146. By reading the input twice, once with the input bias high and then again with the input bias low, the microcontroller 146 can determine a change of state regardless of whether the input is a switch contact or a positive DC voltage.

A pair of analog input ports 320 are used for reading analog inputs, such as photo cells. The ports 320 consists of three terminal connections, two analog inputs on the outside with a ground terminal in the center. The analog inputs are individually buffered at analog input buffers 322 and routed to analog inputs of the microcontroller 146. Analog outputs from the microcontroller 146 are created by sending a pulse width modulated signal to a pair of analog output circuits 324. The analog output circuits 324 converts the PWM signal to a DC voltage corresponding to the duty cycle of the PWM. The outputs are then connected to analog output port 326. The analog output ports 326 may comprise three terminals with the two analog outputs connected to the two outside terminals with a ground terminal in the center.

The illustrated I/O controller 124 includes two means of a communication. The first is a master/slave protocol using an RS485 communication drive 328 with configurable termination and bias connected to an RS485 port 330. The RS485 port 330 has both an in and out connectors for daisy chaining RS485 connections. The second form of communication is an EIB or Konnex distributed processing protocol using an EIB communication driver 332 connected to an EIB port 334. The EIB port 334 is a two pin connection for attaching a twisted pair connector. In addition, the EIB communication lines connect to a system controller port 336 along with voltage from the power supply 300. This port is used to communicate with the system controller 126 via the cable 150 connected to the connector 148, see FIG. 4, discussed above. As discussed above relative to FIG. 5, the system controller 126 configures a system of multiple panels, sets up time schedules, maps inputs to outputs, and provides other building automation functions.

The microcontroller 146 can send signals to various types of status indicators 338 such as LEDs to show communications OK, operating properly, low voltage, etc. If a time schedule has been configured in the I/O controller 124, a real time clock 340 provides the ability to activate outputs based on time of day without intervention from a system controller or other building automation system.

Each lighting control panel 100 is capable of stand alone operation. When a system controller 126 is connected to a network of panels 100, the panels 100 can be independently configured, mapped to switch devices in other panels, operate on changing time schedules, communicate on various building automation networks, and display information from several panels on a local graphical display.

FIG. 7 illustrates a block diagram of the system controller 126 in a multiple panel system. The system controller 126 is controlled by the microcontroller 152 in the form of a standard form factor embedded CPU module 400 including appropriate memory circuits 400M, as is conventional. Various means for communication are provided with the system controller 126. A debug port 402 is a serial communication link similar to RS 232 used to load and debug the CPU 400. An ethernet controller 404 is capable of interfacing with Bacnet or the internet. An RS485 port 406 can be used with Modbus protocol. A USB interface 408 is provided for interfacing to a memory stick or other USB devices. A modem 410 provides for phone line communications. A general purpose I/O interface 412 is provided for special discrete I/O functions. Additionally, the CPU module 400 has a serial interface to a bus interface module (BIM) 414 used to connect to the EIB bus 170. As described, the EIB bus 170 is used as a connection means between the system controller 126 and each of the I/O controllers, such as 124A, 124B and 124C. Alternatively, with the master I/O controller, such as described above relative to FIG. 5, the system controller 126 is directly connected to the master I/O controller 124-1 and connections between I/O controllers is via the EIB bus 170. In order to configure an EIB device, an EIB switch and LED 416 are used to locate and address the device. The protocol on this bus conforms to the Konnex standard.

The CPU module 400 also includes an LCD/touch pad interface 418 for driving the user interface 154 comprising the touchscreen 128 and LCD 130, see FIG. 3. This interface 418 allows a user to interact with the system controller 126. The LCD 130 is a 5.1″ diagonal monochrome graphical device. Alternatively, a color display could be used. The display 130 includes an LED back light. A contrast adjustment circuit 420 is connected to the interface 418 and may consist of a potentiometer, or the like. The touchscreen 128 is a standard four wire type device. The combination of an LCD 130 and touchscreen 128 provides improvement over use of limited keys or buttons and small text only displays.

In order to accommodate memory requirements, a compact flash socket 422 is connected to the CPU module 400 to allow for memory expansion.

The communication from the system controller 126 to an I/O controller 124, includes configuration information such as input types, output types, input/output mapping, schedules and normal group addressing information. The system controller 126 receives status information on remote operated devices 110 from the I/O controllers 124. The system controller 126 sends on and off commands to the I/O controllers 124 using group addresses in EIB. The I/O controllers 124 send input change notices to the system controller 126 when any input changes state and reports back to the system controller 126, on request, all or part of received information, for verification.

More particularly, each I/O controller microcontroller 146, see FIGS. 4 and 6, implements an I/O board application program which is a combination of standard table definitions and specialized code for handling the inputs and/or outputs. An EIB stack handles all communications with the EIB network 170 and notifies the application program of any EIB requests. Also, software is included for communicating with the remote operated devices 110.

The application program is notified when an output needs to be turned on or off. The code can then write directly to ports 304 or 306, see FIG. 6, to effect the opening/closing of a remote operated device 110. Similarly, in a cyclic loop, the application can check the status of inputs and update the appropriate EIB tables to reflect the state of the inputs. To handle multi-part activities, a scheduler is provided within the application program. The scheduler will keep track of tasks that must be accomplished either in the next cyclic loop or after a certain elapsed time or at a certain time of day.

The application program includes a set of required tables to drive the EIB stack. These tables are an address table, an association table, communication objects, and parameters for the communication objects. When a particular EIB device is programmed, these tables are downloaded and determine how the device responds to particular EIB messages. Each of the forty-two outputs need communication objects defined for at least status and force control, and optionally manual override, control and logic. The control, logic and manual override objects are driven by the discrete inputs. Thus, they may or may not need a communication object defined. Each of the thirty-two discrete inputs needs one communication object defined.

The system controller 126 functions as the configurator and master to all of the panels 100. Apart from configuration, it also tests, diagnoses, and reports device activities for each of up to eight panels 100. The system controller software runs on a window CE operating system.

The system controller 126 has a user interface application that allows the user to setup the panels, breakers, zones, inputs, IO mappings, schedules and overrides. This data is stored in the form of SQL CE (also called as SQL Mobile) database. Some of the log files are stored in XML files for optimum performance. The user interface application is a Windows forms application which makes calls to all the business objects on an on-demand basis. This application uses the touch panel interface 154 to drive the application. A schedule manager runs all the time and initiates necessary events when the time to trigger reaches. This object handles all events and treats them based on whether they are scheduled events or manual events. A synchronization manager is a time sync object that runs all the time and synchronizes the clocks with all of the panels 100 and the system controller 126. A communications handler accepts all requests from the user interface or from other business objects, such as the schedule manager, and dispatches these requests to the appropriate protocol handler. A group address provider provides to a caller a unique group address, keeping in kind the general group address architecture. Group addresses are used primarily for establishing zones of lights or addressing individual inputs or outputs. A physical address provider provides to a caller a unique physical address based on a given panel number. One unique physical address is assigned to each panel in a system. In general, the physical address is the unique address by which an EIB device can be programmed.

An EIB handler performs the functions of taking requests from the communication handler and sending them out to the EIB network and responding to any EIB messages received from the EIB network. The EIB handler takes a logical request from the communications handler and translates it into the appropriate message type for EIB and assigns the necessary addressing to it, based on the panel ID or on the group address. For received EIB messages, the EIB handler reverses this process, by interpreting the message type back into a generic response and translating the address into a panel ID or leaving it as a group address. Then it determines if this received message is an expected response or if it is an unsolicited response. Unsolicited responses are queued up waiting for the communication handler to ask for them.

A USB handler performs two major functions. The USB handler recognizes if there is a USB memory device 408D connected in the USB port 408P, see FIG. 1, and identifies if there is any database file and presents a question to a user whether the user wants to import or export a configuration file.

The system controller 126 provides a touch panel interface for the configuration operation. The entire configuration can be done locally by using this touch panel interface. However, the following scenarios enable a need for remote/offline configuration:

-   -   When a massive commissioning need to be done for several panels         whose setup is quite identical;     -   When there is a technical problem in the system which requires a         technical person who is away from the location; or     -   When the surrounding physical area not permitting somebody to be         able to work at the panel.         Having the USB interface 408, see FIG. 7, operatively associated         with the USB port 408P, see FIG. 1, that receives any USB mass         storage device 408D, offers the advantages of exporting the         configuration data from the system controller 126 to a USB flash         drive 408D or importing the configuration data into the system         controller 126 from a USB flash drive 408D.

As is well known, the USB interface 408 comprises a serial interface. As is apparent, the data transfer in accordance with the invention could be performed with other communication protocols, interfaces and devices, including wireless transfer.

The USB Handler is written to detect any mass storage device being inserted into the USB port. This handler thus prompts the user to export or import the data automatically, like plug-and-play. Exporting of the data gives advantage to reconfigure the system offline. This also enables one to diagnose any issues in the system. Importing the data completes the operation so the controller can work with new or updated system. Similarly if there is a standard configuration template data, then this can be used to import into all the panels 100 that have the system controller 126. This saves time compared to manually configuring all the panels 100.

FIG. 8 illustrates a flow diagram for the USB handler. The handler begins at a decision block 500 which determines if a USB device 408D is detected in the port 408P. If not, then control loops back until a device is detected. Once a device is detected, then a decision block 502 queries the user, using the user interface 154, whether an import or export of configuration data should be performed. As discussed above, the data is in the form of a database representing setup of panels, breakers, zones, inputs, I/O mappings, schedules and overrides. If an export function is requested then the configuration data is uploaded to the USB device 408D at a block 504. The handler then ends. If an import function is requested then the configuration data is downloaded from the USB device 408D at a block 504. The handler then ends.

Thus, in accordance with the invention, an integrated electrical power distribution system, such as a lighting control system, includes a system controller using USB upload and download for configuration in an electrical power distribution system.

The present invention has been described with respect to flowcharts and block diagrams. It will be understood that each block of the flowchart and block diagrams can be implemented by computer program instructions. These program instructions may be provided to a processor to produce a machine, such that the instructions which execute on the processor create means for implementing the functions specified in the blocks. The computer program instructions may be executed by a processor to cause a series of operational steps to be performed by the processor to produce a computer implemented process such that the instructions which execute on the processor provide steps for implementing the functions specified in the blocks. Accordingly, the illustrations support combinations of means for performing a specified function and combinations of steps for performing the specified functions. It will also be understood that each block and combination of blocks can be implemented by special purpose hardware-based systems which perform the specified functions or steps, or combinations of special purpose hardware and computer instructions. 

1. A method of configuring an electrical distribution system comprising: providing a panel comprising a plurality of switching devices mounted in the panel, each switching device for connection in a branch circuit to a load device for selectively delivering electrical power to the load device, and a panel controller mounted in the panel and operatively connected to each of the switching devices, the panel controller comprising a programmed controller for controlling operation of the switching devices and a panel memory connected to the programmed controller storing configuration data relating to operation of the switching devices; providing a port positioned on the panel for locally and operatively connecting a local external mass storage memory device to the programmed controller; inserting the local external mass storage memory device in the port; detecting the presence of the local external mass storage memory device in the port; identifying the presence of a database file on the local external mass storage memory device; prompting a user to import or export configuration data to or from the local external mass storage memory device; and establishing communications between the programmed controller and the local external mass storage memory device comprising operating a user interface to locally transfer configuration data between the local external mass storage memory device and the panel memory.
 2. The method of claim 1 wherein transferring configuration data between the local external mass storage memory device and the panel memory comprises locally downloading configuration data from the local external mass storage memory device to the panel memory.
 3. The method of claim 1 wherein transferring configuration data between the local external mass storage memory device and the panel memory comprises locally uploading configuration data from the panel memory to the local external mass storage memory device.
 4. The method of claim 1 wherein providing a port for locally and operatively connecting the local external mass storage memory device to the programmed controller comprises providing a serial port.
 5. The method of claim 1 wherein providing a port for locally and operatively connecting the local external mass storage memory device to the programmed controller comprises providing a USB port.
 6. The method of claim 1 wherein the configuration data is in the form of a database comprising information selected from a group consisting of setup of the panel, breakers, zones, inputs, I/O mappings and schedules.
 7. The method of claim 1 wherein the panel comprises a user interface operatively connected to the programmed controller for alternatively manually selecting parameters for the configuration data.
 8. A configurable electrical distribution system for selectively connecting an electrical power source to load devices, comprising: a panel comprising a plurality of switching devices mounted in the panel, each switching device for connection in a branch circuit to a load device for selectively delivering electrical power to the load device; a panel controller mounted in the panel and operatively connected to each of the switching devices, the panel controller comprising a programmed controller for controlling operation of the switching devices and a panel memory connected to the programmed controller storing configuration data relating to operation of the switching devices; a port positioned on the panel for locally receiving a local external mass storage memory device to operatively connect the local external mass storage memory device to the programmed controller; an external mass storage memory device interface adapted to detect the receipt of the local external mass storage memory device in the port; and a user interface operatively associated with the programmed controller adapted to prompt a user to import or export configuration data to or from the local external mass storage memory device and to locally transfer configuration data between the local external mass storage memory device and the panel memory.
 9. The configurable electrical distribution system of claim 8 wherein the user interface locally downloads configuration data from the local external mass storage memory device to the panel memory.
 10. The configurable electrical distribution system of claim 8 wherein the user interface locally uploads configuration data from the panel memory to the local external mass storage memory device.
 11. The configurable electrical distribution system of claim 8 wherein the port comprises a serial port.
 12. The configurable electrical distribution system of claim 8 wherein the port comprises a USB port.
 13. The configurable electrical distribution system of claim 8 wherein the configuration data is in the form of a database comprising information selected from a group consisting of setup of the panel, breakers, zones, inputs, I/O mappings and schedules.
 14. The configurable electrical distribution system of claim 8 wherein the user interface is adapted for alternatively manually selecting parameters for the configuration data.
 15. A configurable electrical distribution system for selectively connecting an electrical power source to load devices, comprising: a plurality of panelboards, each panelboard comprising a plurality of load circuit positions, a plurality of pairs of circuit breakers and switching devices each mounted in one of the load circuit positions, each pair electrically connected between an electrical power source and a load device for selectively delivering electrical power to load devices, a panel controller operatively connected to each of the switching devices, the panel controller comprising a programmed controller for controlling operation of the switching devices and a panel memory connected to the programmed controller storing configuration data relating to operation of the switching devices, and a port positioned on the panel board and connected to the programmed controller; and a local external mass storage memory device for selective local insertion in the port, an external mass storage memory device interface adapted to detect the insertion of the local external mass storage memory device in the port; wherein the programmed controller operates a user interface responsive to the local external mass storage memory device being locally inserted in the port to prompt a user to import or export configuration data to or from the local external mass storage memory device and to transfer configuration data between the local external mass storage memory device and the panel memory.
 16. The configurable electrical distribution system of claim 15 wherein the user interface locally downloads configuration data from the local external mass storage memory device to the panel memory.
 17. The configurable electrical distribution system of claim 15 wherein the user interface locally uploads configuration data from the panel memory to the local external mass storage memory device.
 18. The configurable electrical distribution system of claim 15 wherein the port comprises a serial port.
 19. The configurable electrical distribution system of claim 15 wherein the port comprises a USB port.
 20. The configurable electrical distribution system of claim 15 wherein the configuration data is in the form of a database comprising information selected from a group consisting of setup of the panel, breakers, zones, inputs, I/O mappings and schedules.
 21. The configurable electrical distribution system of claim 15 wherein the user interface is adapted for alternatively manually selecting parameters for the configuration data. 